package com.wtwd.wtwddevice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wtwd.wtwddevice.model.entity.LastLocationData;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author mjy
 * @since 2024-05-15
 */
public interface ILastLocationDataService extends IService<LastLocationData> {

    boolean insertOrUpdate(LastLocationData lastLocationData);

    /**
     * 根据imei查询设备最后一次定位
     *
     * @param imei
     * @return
     */
    LastLocationData getLastLocationDataByImei(String imei);
}
